package com.fancy.learncenter.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by hyy on 2018/5/5.
 */

public class MsgSysDataBean {

    private int total;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    private LastMessageBean lastMessage;


    public LastMessageBean getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(LastMessageBean lastMessage) {
        this.lastMessage = lastMessage;
    }

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public class ListBean {
        /**
         * id : 7
         * user_id : 13738
         * messge_id : 3
         * is_read : 0
         * read_time : 0000-00-00 00:00:00
         * add_time : 2018-06-06 10:45:52
         * content : 201806062
         */

        private String id;
        private String user_id;
        private String messge_id;
        private String is_read;
        private String read_time;
        private String add_time;
        private String content;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getMessge_id() {
            return messge_id;
        }

        public void setMessge_id(String messge_id) {
            this.messge_id = messge_id;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getRead_time() {
            return read_time;
        }

        public void setRead_time(String read_time) {
            this.read_time = read_time;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }

    public class LastMessageBean {
        /**
         * id : 169
         * type : 2
         * send_user_id : 13409
         * user_id : 13388
         * content : 你好吗
         * relate_id : 200
         * is_read : 0
         * add_time : 2018-05-22 13:54:46
         */

        private String id;
        private String type;
        private String send_user_id;
        private String user_id;
        private String content;
        private String relate_id;
        private String is_read;
        private String add_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getSend_user_id() {
            return send_user_id;
        }

        public void setSend_user_id(String send_user_id) {
            this.send_user_id = send_user_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getRelate_id() {
            return relate_id;
        }

        public void setRelate_id(String relate_id) {
            this.relate_id = relate_id;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }

    private List<BannerArrBean> banner_arr;

    public List<BannerArrBean> getBanner_arr() {
        return banner_arr;
    }

    public void setBanner_arr(List<BannerArrBean> banner_arr) {
        this.banner_arr = banner_arr;
    }

    public static class BannerArrBean {
        /**
         * id : 8
         * title : 我是消息
         * imgsrc : http://yigoutong.shweijue.com/upload/banner/201804/18173073036800.jpg
         * type : 0
         * link : www.baidu.com
         * site : 11
         * device : 1
         * seque : 0
         * add_time : 2018-04-25 18:17:30
         * is_img : 1
         */

        private String id;
        private String title;
        private String imgsrc;
        private String type;
        private String link;
        private String site;
        private String device;
        private String seque;
        private String add_time;
        private int is_img;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgsrc() {
            return imgsrc;
        }

        public void setImgsrc(String imgsrc) {
            this.imgsrc = imgsrc;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getSite() {
            return site;
        }

        public void setSite(String site) {
            this.site = site;
        }

        public String getDevice() {
            return device;
        }

        public void setDevice(String device) {
            this.device = device;
        }

        public String getSeque() {
            return seque;
        }

        public void setSeque(String seque) {
            this.seque = seque;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public int getIs_img() {
            return is_img;
        }

        public void setIs_img(int is_img) {
            this.is_img = is_img;
        }
    }


}
